<template>
	<view class="box">






	</view>
</template>

<script setup>
	import {
getMpUrl
	} from '../../api/index.js'
	export default {
		data() {
			return {

			};
		},
		onLoad(option) {
			if(option.a){
				getMpUrl({a:option.a,openid:"",env:4}).then((res)=>{
					console.log(res)
				})
				let url ='https://web.78keji.cn/ngtc/#/?a='+option.a
				let link = "https://render.alipay.com/p/s/i/?scheme=" + encodeURIComponent(
						"alipays://platformapi/startapp?saId=10000007&clientVersion=3.7.0.0718&qrcode="
					) +
					encodeURIComponent(encodeURIComponent(url))
				my.ap.navigateToAlipayPage({
					path: link
				})
			}

		},
		onShow() {

		}
	}
</script>

<style lang="scss" scoped>

</style>